public class Test1 {
    public static void main(String[] args) {
        int []array = {1,34,5,67,7,735,77536,9};
        System.out.println(fun(array));
    }
    public static boolean fun(int []array) {
        boolean tmp = false;
        for (int i = 0; i < array.length-2; i++) {
            if(array[i]%2  !=0 && array[i+1]%2 != 0 && array[i+2]%2 != 0) {
                tmp = true;
                break;
            }
        }
        return tmp;
    }
}
